import Vue from 'vue'
import App from './App'
Vue.config.productionTip = false
import tools from 'common/tools.js'
import axios from 'common/axios.js'
import path from 'common/path.js'
App.mpType = 'app'

//微信登录
import logins from 'components/login.vue'
Vue.component('login', logins)
//暂无数据
import moreLoading from 'components/moreLoading.vue'
Vue.component('moreLoading', moreLoading)

//暂无数据
import navbar from 'components/dsl-navbar.vue'
Vue.component('dsl-navbar', navbar)

Vue.prototype.$tools = tools; //挂在到Vue实例上
Vue.prototype.$axios = axios; //挂在到Vue实例上
Vue.prototype.$path = path; //挂在到Vue实例上
Vue.prototype.Http = axios; //挂在到Vue实例上

const app = new Vue({
	...App
})
app.$mount()
